import http from '@/utils/axios'
/**
 * 获取领域、客户端列表
 * @returns { Promise<AxiosResponse<any, any>> }
 */
export const getDomainAndClientList = () => {
  return http({
    url: '/management-application/app/getClientList',
    method: 'get',
  })
}

/**
 * 获取变更日志列表
 * @returns { Promise<AxiosResponse<any, any>> }
 */
export const getLogList = (query) => {
  console.log(query)
  return http({
    url: '/management-log/changeLog/page',
    method: 'get',
    params: query,
  })
}
